/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package logica;

/**
 *
 * @author Miguel
 */
public class resultadoLogueo {

    public int logueo(Boolean res1, Boolean res2, Boolean res3){
        int resultado = 0;

        if(res1 && !res2 && !res3)
            return 1;

        if(!res1 && res2 && !res3)
            return 2; 

        if(!res1 && !res2 && res3)
            return 3;

        return resultado;
    }

}
